package ch10.ex2_1_3_ReflectionAPI2

/**
 * Created by caozp-ytcyc2007 on 2017/6/4.
 */

var counter = 0

fun main(args: Array<String>) {
    val kProperty = ::counter
    kProperty.setter.call(21)
    println(kProperty.get())
}